import request from '@/utils/request'

// 查询出库单列表
export function listDataBackhaul(query) {
  return request({
    url: '/outbound/dataBackhaul/list',
    method: 'get',
    params: query
  })
}
// 查询所有的出库单
export function getDataBackhaulNumber(consignmentIds) {
  return request({
    url: '/outbound/dataBackhaul/' + consignmentIds,
    method: 'get'
  })
}


//数据同步
export function syncDataBackhaul(consignmentIds) {
  return request({
    url: '/outbound/dataBackhaul/sync/' + consignmentIds,
    method: 'put',
  })
}
